package com.kashow.bean.chat;

import com.kashow.bean.chat.gift.GiftBean;

/**
 * Created by yybs on 16/11/16.
 */

public class Gift extends BaseChat {
    private String gift;
    private GiftBean mGiftBean;

    public String getGift() {
        return gift;
    }

    public void setGift(String gift) {
        this.gift = gift;
    }

    @Override
    public String getMessage() {
        return "送给老师一个"  + (mGiftBean == null ? "礼物" : mGiftBean.getName());
    }

    @Override
    public int getItemType() {
        return BaseChat.SEND_GIFT;
    }

    public GiftBean getGiftBean() {
        return mGiftBean;
    }

    public void setGiftBean(GiftBean giftBean) {
        mGiftBean = giftBean;
    }
}
